﻿// ----------------------------------------------------------------------------------------------
// Copyright (c) Microsoft.
// ----------------------------------------------------------------------------------------------
// This source code is subject to terms and conditions of the Microsoft Public License. A 
// copy of the license can be found in the License.html file at the root of this distribution. 
// If you cannot locate the  Microsoft Public License, please send an email to 
// dlr@microsoft.com. By using this source code in any fashion, you are agreeing to be bound 
//  by the terms of the Microsoft Public License.
// ----------------------------------------------------------------------------------------------
// You must not remove this notice, or any other, from this software.
// ----------------------------------------------------------------------------------------------

namespace Samples
{
    using System;

    static partial class Program
    {
        static void NewLine ()
        {
            Console.WriteLine();
        }

        static void Main(string[] args)
        {
            WriteBrightLine (" _______  _____    _______                          __               ");
            WriteBrightLine ("|_     _||  |  |  |     __|.---.-..--------..-----.|  |.-----..-----.");
            WriteBrightLine ("  |   |  |__    | |__     ||  _  ||        ||  _  ||  ||  -__||__ --|");
            WriteBrightLine ("  |___|     |__|  |_______||___._||__|__|__||   __||__||_____||_____|");
            WriteBrightLine ("                                            |__|                     ");
            NewLine         ();

            WriteNormalLine ("Hi there! This is a source sample project on how to get started with T4.");
            NewLine         ();
            WriteNormalLine ("T4 is a flexible code generation tool that can reduce development time");
            WriteNormalLine ("and maintenance cost."); 
            WriteNormalLine ("T4 is easy to adopt in any project and in any stage of product development.");
            NewLine         ();

            WriteBrightLine ("Available source samples:");
            WriteNormalLine ("   1_HelloWorld  : How to get started with T4");
            WriteNormalLine ("   2_Exceptions  : Generating exception classes with T4");
            NewLine         ();

            WriteNormalLine ("For more samples and information please visit our blog:"); 
            WriteUrlLine    ("   http://blogs.msdn.com/b/t4/");
            WriteNormalLine ("The official T4 team repository:");
            WriteUrlLine    ("   http://t4talk.codeplex.com");
            NewLine();

            WriteNormalLine ("Best regards,");
            WriteBrightLine ("   The T4 Team");
            NewLine         ();

            WriteNormalLine ("Press any key to exit");

            Console.ReadKey();
        }
    }
}
